package com.liachen.stock.ext;

import com.liachen.stock.entity.StockInfo;
import com.liachen.stock.entity.StockSimple;
import com.liachen.stock.entity.StockSummaryInfo;
import com.liachen.stock.entity.User;
import com.liachen.stock.entity.UserStockInfo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @author liangchen
 * @date 2024-06-08
 */
public interface THSExtService {
    List<User> queryUserList(String type);

    List<UserStockInfo> queryUserStockInfoList(Long userId);

    void followUser(String userId, String usrId, String userName);

    StockSimple getStockTodayInfo(StockSummaryInfo stockSummaryInfo) throws IOException;

    List<StockInfo> getStockList(Map params) throws IOException;
}
